<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<script language="javascript" src="../../../../../js/jquery.js"></script>
<script language="javascript" src="../../../../../js/common.js"></script>
<script language="javascript" src="../../../../../js/My97DatePicker/WdatePicker.js"></script>

<link rel="stylesheet" type="text/css" href="../../../../../js/jquery-easyui-1.3.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../../../../js/jquery-easyui-1.3.5/themes/icon.css">
<script type="text/javascript" src="../../../../../js/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../../../../js/jquery-easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css" href="../../../../../themes/css/tsm-icon.css" />
<script> 
function onAddNode(id,code,pcode,url,text,treeid,icon){
	window.parent.onAddNode(null,id,code,pcode,url,text,treeid,icon);
}
function onRemoveNode(code,treeid){
	window.parent.onRemoveNode(null,code,treeid);
}
function onEditNode(code,text,treeid){
	window.parent.onEditNode(null,code,text,treeid);
}
function closeTab(){
	window.parent.closeTab();
}
</script>
<link rel="stylesheet" type="text/css" href="../../../../../themes/css/right.css" />
<link rel="stylesheet" type="text/css" href="../../../../../themes/css/blueStyle.css" />
 



<script type="text/javascript">
	 var grid;	
	 function onresize(){
		 resizeEasyGrid('grid');
	 }
	 $(document).ready(function(){
		grid = $("#grid"); 
	 });

	 function search1(){
		 var name = $("#name").val();
		 grid.datagrid('load',{name:name});
	 }
	</script>
	
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	</head>  
	<body >
    	<div id="divNav">
            <div style="text-align:left;float:left; margin-top:3px;" class="ico_win">城市</div>
        </div>
        <div id="divCmd">
            <table border="0" align="left" cellpadding="4" cellspacing="4">
                <tr>
                    <td width=80 align=right>名称： </td>
                    <td>
                        <input id=no class=txt_input name=no>
                    </td>
                    <td>
                        <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onClick="">查询</a>
                    </td>
                </tr>
            </table>
        </div>

        <table id="tssGrid"  class="easyui-treegrid" align="center"  style="height:500px"
				data-options="url:'city.json',idField:'id',treeField:'name',toolbar: '#tb',singleSelect: true,
					rownumbers:true,fitColumns:true,autoRowHeight:false">
                    <thead>
                        <tr>
                            <th data-options="field:'name'" rowspan="2" width="150">名称</th>
                            <th colspan="2">编码</th>
                        </tr>
                        <tr>
                            <th data-options="field:'id'" width="200">编码</th>
                            <th data-options="field:'_parentId'" width="200">父编码</th>
                        </tr>
                    </thead>
             </table>
             <div id="tb" style="height: auto">
             <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onClick="">添加</a>
             <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onClick="">编辑</a>
			 <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onClick="">删除</a>
             </div>
		</div>
		</div>
		<div style="height: 5px;"></div> 
	</body>
</html>

 